package com.ruoyi.client.pojo.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.math.BigDecimal;

@Data
public class HomeGoodsVo {
    @ApiModelProperty(value = "商品ID")
    private Long goodsId;

    @ApiModelProperty(value = "店铺ID")
    private Long storeId;

    @ApiModelProperty(value = "商品分类名")
    private String goodsCategoryName;

    @ApiModelProperty(value = "分类排序")
    private Integer categorySort;

    @ApiModelProperty(value = "商品名称")
    private String goodsName;

    @ApiModelProperty(value = "商品图片")
    private String goodsImg;

    @ApiModelProperty(value = "销售价格")
    private BigDecimal goodsPrice;

    @ApiModelProperty(value = "原价")
    private BigDecimal originalPrice;

    @ApiModelProperty(value = "销量")
    private Integer salesNum;

    @ApiModelProperty(value = "是否在售（1=是，0=否）")
    private Integer isOnSale;

    @ApiModelProperty(value = "商品类型（1=推荐")
    private Integer type; // 新增类型字段，用于区分模块
}